package com.etc.util;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Random;

public class OrderGenerator {

	public static String generateOrderId() {
		Date now = new Date();
		String orderid = new SimpleDateFormat("yyyyMMddHHmmss").format(now) + new Random().nextInt(100);
		System.out.println(orderid);
		return orderid;
	}
}
